package cn.tedu.cwgl.service;

import cn.tedu.cwgl.entity.Bill;
import cn.tedu.cwgl.entity.Payway;
import cn.tedu.cwgl.util.PageModel;
import cn.tedu.cwgl.util.Result;

import javax.servlet.http.HttpSession;
import java.util.List;
import java.util.Map;

public interface BillService {
    Result<Bill> findByWhereNoPage(Bill bill);

    Result<Bill> findByWhere(PageModel model);

    List<Payway> getAllPayways();

    int addBill(Bill bill, HttpSession httpSession);

    int deleteBill(Bill bill);

    int updateBill(Bill bill);
}
